package com.qf.service.impl;

import com.qf.model.StandardSubmit;
import com.qf.service.StrategyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 1天内的限流策略
 * @Author ztf
 * @Date 19:45 2021/11/24
 **/
@Service(value = "limitOneDay")
@Slf4j
public class LimitOneDayServiceImpl implements StrategyService {
    /**
     * 策略方法
     *
     * @param standardSubmit
     * @return
     */
    @Override
    public boolean execute(StandardSubmit standardSubmit) {
        log.info("【策略模块-限流策略】1天内的限流策略开始执行！！！");
        return true;
    }
}
